<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <ul>
        <li v-for="user in users">
            {{user.name}}--{{user.age}}
        </li>
    </ul>
    <ul>
        <li v-for="(user,index) in users">
            {{index}}--{{user.name}}--{{user.age}}
        </li>
    </ul>

</div>
<script type="text/javascript">
    var app = new Vue({
        el:"#app",
        data:{
            users:[{name:"w",age:1},
                {name: "z",age: 2},
                {name:"y",age:3}]
        }
    })
</script>

</body>
</html>